﻿using BPMN.Application.Contracts.DTO.Request.Material;
using BPMN.Application.Contracts.DTO.Response.Material;
using BPMN.Application.Contracts.DTO.Response;
using BPMN.Domain.Entity.Material;
using BPMN.DomianShare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Application.IService
{
    public interface IProductsService : IAppServiceBase<Products>, IScoped
    {
        Task<ResultResponseDto<int>> AddProducts(ProductsRequestDto entity);
        Task<ResultResponseDto<int>> UpdateProducts(ProductsRequestDto entity);
        Task<ResultResponseDto<List<ProductsResponseDto>>> GetProducts(int PFId, string? PName, bool PYesNo);
        Task<ResultResponseDto<ProductsResponseDto>> GetProductsById(int Id);
        Task<ResultResponseDto<int>> DeleleProducts(int PId);
        Task<ResultResponseDto<List<JiLianProductsDto>>> XLKProducts(int PId);
    }
}
